package com.snake.springboot.authority.api.service;

import com.snake.springboot.authority.api.model.AuthRoleModel;

import java.util.List;

public interface AuthRoleService {

    AuthRoleModel addRole(AuthRoleModel model) throws Exception;

    int modifyRole(AuthRoleModel model) throws Exception;

    int removeRole(String roleId);

    AuthRoleModel querySingleRole(String roleId);

    List<AuthRoleModel> queryRoleList(AuthRoleModel params) throws Exception;

}
